package com.tbb.app.base.search;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "用户登录传参对象")
public class UserLoginSearch {

    @ApiModelProperty("账号，必填")
    @NotBlank(message = "账号必填")
    private String account;

    @ApiModelProperty("密码，必填")
    @NotBlank(message = "密码必填")
    private String password;

}
